<!DOCTYPE html>
<html lang="en">

<head>
    <{include file="header.html" }>
        <title>调整评分-老师管理-
            <{$user_data[ 'school_name']}>-德安信会计在线教育平台</title>
        <script>
        $(function() {
            $("#btn_save").click(function() {
                $("form").submit();
            });
        })
        </script>
</head>

<body>
    <div class="wrap">
        <!--star left-->
        <div class="column">
            <{include file="left_menu.html" }>
        </div>
        <div id="ContMianBox">
            <!--star子栏目-->
            <div class="sub-colum">
                <div class="tit"><{$left_menu_min.menu}></div>
                <ul>
                    <{foreach from=$left_menu_min.list item=item}>
                    <li <{if $item['url'] == $left_menu_min.curr}>class="curr"<{/if}>><a href="<{$item['url']}>"><{$item['name']}></a></li>
                    <{/foreach}>
                </ul>
            </div>
            <!--end子栏目-->
            <!--end left-->
            <div class="container narrow">
                <!--star conter-->
                <div class="cetContent">
                    <div class="tit p-lr20">
                        <a class="c-40d064" href="/teacher">老师管理</a><em class="p-lr10 c-CCCCCC fs12">/</em><em>调整评分</em>
                    </div>
                    <!--star内容区域-->
                    <div class="mainScroll">
                        <div class="mainContainer line-all">
                            <!-- <ul class="ui-nav-tab wList33">
					            <li class="js-step-1 active"><a href="javascript:;">1.编辑老师基本信息</a></li>
					            <li class="js-step-2"><a href="javascript:;">2.分配权限</a></li>
					        </ul> -->
                            <div class="tabMainCont">
                                <!--star 编辑基本信息-->
                                <div class="tabItem step-02 ">
                                    <form action="/teacher/change_score/<{$teacher_id}>" class="layui-form" method="post">


                                        <div class="layui-form-item">
                                            <label class="layui-form-label">评分：</label>
                                            <div class="layui-input-inline">
                                                <input type="text" name="school_score" value="<{if isset($school_score)}><{$school_score}><{/if}>" maxlength="3" placeholder="学校给老师的评分，满分100" required lay-verify="required" autocomplete="off" class="layui-input">
                                                <{if isset($school_score_err)}>
                                                    <i class="layui-icon" style="font-size: 30px; color: red">&#x1007;</i>
                                                    <span class="tip" style=" padding:2px 5px;"><{$school_scoree_err}></span>
                                                    <{/if}>
                                            </div>
                                            <div class="layui-form-mid layui-word-aux">学校给老师的评分，满分100分</div>
                                        </div>

                                        <div class="layui-form-item">
                                            <div class="layui-input-block">
                                                <button class="layui-btn" lay-submit="" lay-filter="demo1">保存</button>
                                                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                                            </div>
                                        </div>
                                        <div class="p-tb30 tac">

                                        </div>
                                    </form>
                                </div>
                                <!--end 编辑基本信息-->
                                <!-- <iframe id="myiframe" onLoad="iFrameHeight()" src="/teacher/score_list/<{$teacher_id}>" border=2 frameborder=0 width="100%" marginheight=0 marginwidth=0 scrolling=no> -->
                            </div>
                        
                        <div>
                            <table class="layui-table" lay-even lay-skin="row">
                                <thead>
                                    <tr>
                                        <th>序号</th>
                                        <th>分数</th>
                                        <th>内容</th>
                                        <th>学生班级</th>
                                        <th>学生</th>
                                        <th>时间</th>
                                    </tr>
                                </thead>   
                                <tbody>
                                <{foreach from=$score_list.result key=key item=item}>
                                    <tr>
                                        <td class="center">
                                            <{$item.id}>
                                        </td>
                                        <td class="center"><{$item['score']}></td>
                                        <td class="center"><{$item['content']}></td>
                                        <td class="center"><{$item['class_name']}></td>
                                         <td class="center"><{$item['name']}></td>
                                        <td class="center"><{$item['add_time']|date_format: '%Y-%m-%d %H:%M'}></td>
                                    </tr>
                                <{/foreach}>
                                <{if $score_list|count eq 0}>
                                    <tr>
                                        <td class="center" style=" height:120px; text-align:center;line-height:120px;" colspan="8">
                                            赞无数据！
                                        </td>
                                    </tr>
                                <{/if}>
                                </tbody>
                            </table>
                        </div>
                        <div class="pages p-tb20" style="text-align:right;">
                            <{$pagination}>
                        </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <{include file="footer.html"}>
    <script>
    layui.use(['form', 'layedit', 'laydate'], function() {
        var form = layui.form(),
            layer = layui.layer,
    });

    </script>
</body>

</html>
